import request from '@/utils/request.js'

export const onLogin = values => request.post('/h5/user/login', values)
export const onRegister = values => request.post('/h5/user/register', values)

export const userInfo = () => request.get('/h5/user/currentUser')
